import { findTypeByValue, findTypeByLabel } from '@/utils/findType'
import * as types from "./types"

// 渠道Table
export const configTableFrame = [
  { 
    prop: "num", 
    label: "序号", 
    minWidth: "50px", 
    tooltip: true 
  },
  { 
    prop: "title", 
    label: "标题", 
    minWidth: "200px"
  },
  { 
    prop: "articleUrl", 
    label: "链接", 
    minWidth: "150px"
  },
  { 
    prop: "createTime", 
    label: "创建时间", 
    minWidth: "100px"
  },
  { 
    label: "操作", 
    slotName: "operate", 
    fixed: "right",
    minWidth: "150px"
  },
];


export const searchFrame = [
  { 
    label: "标题", 
    key: "title", 
    type: 1
  }
]
